package com.example.javaow.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user_role")
public class UserRole {


    @TableId(value = "user_id", type = IdType.NONE)
    private Long userId;
    
    @TableId(value = "role_id", type = IdType.NONE)
    private Long roleId;
}